<%@ page language="java" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<s:set name="lang" var="lang" value="'application'" />
<s:if test="%{#session.WW_TRANS_I18N_LOCALE != null}">
	<s:set var="lang"
		value="'application_' + #session.WW_TRANS_I18N_LOCALE" />
</s:if>

<s:i18n name="application">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td>
				<div class="blue-text16" style="margin: 0px 0px 0px 0px">
					<s:text name="crosspromotion.header" />
				</div>
				<div class="header-separator-bg" style="margin: 10px 5px 17px 0px"></div>
				<div style="margin: 0px 0px 12px 0px">
					<s:form action="addCrossPromotion.htm" method="post" theme="simple">
						<table border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody>
								<tr>
									<td colspan="2" class="common-bold-text">
										<b><s:text name="crosspromotion.para1" />
										</b>
									</td>
								</tr>
								<tr>
									<td colspan="2"></td>
								</tr>
								<tr>
									<td nowrap="nowrap" width="170" class="common-bold-text">
										<s:text name="crosspromotion.select" />
									</td>

									<td>
										<table>
											<tr>
												<td>
													<s:select list="itemsList" cssClass="" listKey="itemId" name="itemId"
														theme="simple" listValue="title"></s:select>
												</td>
												<td>
													<table border="0" cellspacing="0" cellpadding="0">
														<tr>
															<td>
																<img src="images/middle/btn-grey-left1.gif" alt=" "
																	width="6" height="23" />
															</td>
															<td class="btn-grey-middle1 ">
																<s:submit theme="simple" type="button" value="Add"
																	cssClass="submit-btn-common" />
															</td>
															<td>
																<img src="images/middle/btn-grey-right1.gif" alt=" "
																	width="6" height="23" />
															</td>
														</tr>
													</table>
												</td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td colspan="2" class="common-text">
										<s:text name="crosspromotion.iteams" />
									</td>
								</tr>

							</tbody>
						</table>
					</s:form>
				</div>
			</td>
		</tr>
		<tr>
			<td>
				<table border="0" cellpadding="6" cellspacing="1" width="100%">
					<tbody>
						<tr>
							<td class="grid-header-bg grid-header-text" align="center"
								width="30">
								<b><s:text name="crosspromotion.number" />
								</b>
							</td>
							<td class="grid-header-bg grid-header-text" align="left">
								<b><s:text name="Invoice.Item" />
								</b>
							</td>

							<td class="grid-header-bg grid-header-text" align="center"
								width="200">
								<b><s:text name="crosspromotion.options" />
								</b>
							</td>
						</tr>
						<s:iterator value="crossPromotionList" status="rowStatus">
							<tr class="listrow0">
								<td class="grid-bg common-text">
									<s:property value="#rowStatus.index+1" />
								</td>
								<td class="grid-bg common-text">
									<s:property value="items.title" />
								</td>
								<td class="grid-bg common-text" align="center">
									<div style="margin: 0px 8px 0px 0px">
										<table border="0" cellspacing="0" cellpadding="0">
											<tr>
												<td>
													<img src="images/top/btn-grey-left.gif" alt=" " width="6"
														height="23" />
												</td>
												<td class="btn-grey-middle ">
													<div style="margin: 0px 5px 6px 5px">
														<s:a href="deleteCrossPromotion.htm?id=%{id}"
															cssClass="btn-grey-link">Delete</s:a>
													</div>
												</td>
												<td>
													<img src="images/top/btn-grey-right.gif" alt=" " width="6"
														height="23" />
												</td>
											</tr>
										</table>
									</div>
								</td>
							</tr>
						</s:iterator>
					</tbody>
				</table>
			</td>
		</tr>
	</table>
</s:i18n>